<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>选择器【群组+派生】</title>
		<style>
			/*选择器：群组选择器--选中所有选择器选中的元素*/
			p,div,#table,.d1{
				width: 200px;
				height: 200px;
				background: #ff007f;
			}
			/*派生选择器：后代选择器--选中父元素下的所有子元素
			语法：元素选择器  元素选择器*/
			ul li{
				width: 100px;
				height: 100px;
				background: #55ff7f;
			}
		</style>
	</head>	
	<body>
		<ul>
			<li>好东西</li>
			<li>飞驰人生</li>
			<li>鸳鸯楼</li>
			<li>好运来</li>
		</ul>
		<!--块元素：特点：可以设置宽高，独占一行-->
		<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Aspernatur eligendi sapiente facilis modi aliquam eveniet dolorum mollitia nostrum incidunt consectetur veniam assumenda reiciendis iste, tempore porro libero ducimus culpa repellat?</p>
	    <div>Lorem ipsum dolor sit amet consectetur adipisicing elit. Aspernatur nihil vel dicta cupiditate fuga a, sunt porro sapiente perspiciatis harum, illum iusto magnam! Itaque asperiores laboriosam fuga placeat. Dicta, iusto.</div>
		<h2>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Velit sed doloremque reprehenderit libero nemo aperiam nobis quo aut, inventore fugiat. Vero neque quia accusamus ullam delectus! Dolore vitae esse nisi!</h2>
		<table  id="table">
			<tr>
				<td>lorem</td>
				<td>lorem</td>
			</tr>
			<tr>
				<td>lorem</td>
				<td>lorem</td>
			</tr>
		</table>
		
		
		
	</body>
</html>